home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Temp / MiscPickList / MiscStaticPickList.h < prev    next >
Text File  |  1995-04-12  |  1KB  |  35 lines

  1. //
  2. //    MiscStaticPickList.h -- Unchangeable Pick List
  3. //        Written by Don Yacktman Copyright (c) 1994 by Don Yacktman.
  4. //                Version 0.1.  All rights reserved.
  5. //
  6. //        This notice may not be removed from this source code.
  7. //
  8. //    This object is included in the MiscKit by permission from the author
  9. //    and its use is governed by the MiscKit license, found in the file
  10. //    "LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
  11. //    for a list of all applicable permissions and restrictions.
  12. //    
  13.  
  14.  
  15. // This is almost the same as a PickList, but the .nib has no controls
  16. // to change the list.  By using a different class name we can load a
  17. // different .nib for free via the MiscNibController machinery.  We do
  18. // duplicate the class methods to grab the picklist so that you can
  19. // have a mutable and non-mutable version...
  20.  
  21. // Do NOT allocate these yourself; use the +findPickListNamed: method!
  22.  
  23. #import "MiscPickList.h"
  24.  
  25. @interface MiscStaticPickList : MiscPickList
  26. {
  27. }
  28.  
  29. + findPickListNamed:(MiscString *)aName;
  30. - popUp:sender;
  31. - addItemToList:(MiscString *)anItem value:(MiscString *)aValue;
  32. - removeItemFromList:(MiscString *)anItem;
  33.  
  34. @end
  35.